projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94823a5
)
(Fcurrent_time_zone): Make `am' an int, not long.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 23 May 1993 22:41:44 +0000
(22:41 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 23 May 1993 22:41:44 +0000
(22:41 +0000)
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index 30d165ece61d378c5b4b1351bf10952dd2835f0e..69a045b83410ecb455f6bf01fd85c60c0596af71 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-660,7
+660,7
@@
the data it can't find.")
if (!s)
{
/* No local time zone name is available; use "+-NNNN" instead. */
-
long
am = (offset < 0 ? -offset : offset) / 60;
+
int
am = (offset < 0 ? -offset : offset) / 60;
sprintf (buf, "%c%02d%02d", (offset < 0 ? '-' : '+'), am/60, am%60);
s = buf;
}